package com.example.eureka_client.mapper;

import com.example.eureka_client.entity.CommentsReply;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.catalina.LifecycleState;

import java.util.List;

/**
 * <p>
 * 评论回复表 Mapper 接口
 * </p>
 *
 * @author plj
 * @since 2022-03-24
 */
public interface CommentsReplyMapper extends BaseMapper<CommentsReply> {
    boolean removeById(String id);
    CommentsReply getById(String id);
    List<CommentsReply> getChildComments(String fatherCommentsId);
}
